package chapter14;

import com.sun.tools.javac.Main;

/**
 * @author : DuJiabao
 * @Date : 2021/2/25 8:57
 * @Project : thinking_in_java
 * @File : null.java
 * @Desc :
 */
public class SuperClassTest {
  public static void main(String[] args) throws Exception {
    Class<FancyToy> ftClass = FancyToy.class;
    Class<? super FancyToy> up = ftClass.getSuperclass();
    Object o = up.getDeclaredConstructor().newInstance();
  }
}
